import React, {PureComponent} from "react";
import {Platform, StyleSheet,ART, Text, View,Button, ScrollView, Image, Dimensions, TouchableOpacity} from "react-native";

type Props = {
    height:number,
}

export default class CourseDashLineView extends PureComponent<Props>{


    render(){
        const path = ART.Path()
            .moveTo(1,1)
            .lineTo(1,this.props.height);
        return (
            <View style={this.props.style}>
                <ART.Surface width={2} height={this.props.height}>
                   <ART.Shape d={path} stroke="rgba(0,0,0,0.1)" strokeWidth={2} strokeDash={[1,4]}/>
                </ART.Surface>
            </View>
        )
    }
}